package projectTurtle;
import java.awt.*;
import javax.swing.*;
import java.awt.event.*;
import javax.swing.event.*;
import java.util.*;

public class StockTextAreaPanel extends JPanel
{
	private JPanel otherP=null;
	private JButton addB=null, returnB=null;

	public StockTextAreaPanel() 
	{
		otherP = new JPanel(); 
		BoxLayout b5 = new BoxLayout(otherP, BoxLayout.X_AXIS);
		otherP.setLayout(b5);
		//addB = new JButton(" Add ");
		//addB.setToolTipText(" Add new stock item ");
		//addB.addActionListener(this);
		//returnB = new JButton(" Return "); 
		//returnB.setToolTipText(" Return to main page ");
		//returnB.addActionListener(this);
		//otherP.add(addB);
		//otherP.add(returnB);
		otherP.setBorder(BorderFactory.createEmptyBorder(10,10,10,10));
		//setup "this" Jpanel
		this.setLayout(new GridLayout(1,1));
		this.add(otherP);
	}	
}
